.px2rem(@name,@px){
    @{name}: @px / 75px * 1rem 
}
body{
    background: #f4f4f4;
    
}

.header{
    .px2rem(font-size,30);
    background: white;
    width: 100%;
    .px2rem(height,90);
    box-sizing: border-box;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    position: fixed;
    left: 0;
    top: 0;
    border-bottom: 3px solid #f1f1f1;
    padding: 2%;
    p:nth-child(1){
        .px2rem(font-size,40);
        font-weight: 500;
    }
    p:nth-child(2){
        .px2rem(font-size,20);
        .iconfont{
            font-family:"iconfont";
            .px2rem(font-size,50);
            font-style:normal;
        } 
        i:nth-child(1){
            color: #f03d39;
            .px2rem(margin-right,40);
        }
    }
}
.main{
    background: white;
    .px2rem(margin-top,90);
    .px2rem(margin-bottom,120);
    ._lunbo{
        .swiper-container{
            .swiper-wrapper{
                .swiper-slide{
                    width: 100%;
                    a{
                       img{
                            width: 100%;
                        } 
                    }
                    
                }
            }
        }
    }
    .classify{
        width: 100%;
        ._top{
            width: 100%;
            background: white;
            border-bottom: 1px solid #222222;
            dl{
                width: 25%;
                padding: 2%;
                box-sizing: border-box;
                float: left;
                dt{
                    width: 60%;
                    margin: auto;
                    img{width: 100%;}
                }
                dd{
                    .px2rem(font-size,24);
                    margin-top: 10%;
                    text-align: center;
                }
            }
        }
        ._update{
            display: flex;
            justify-content: space-around;
            align-items: center;
           
            border-bottom: 1px solid #222222;
            div{
                border-right: 1px solid #222222;
                flex: 1;
                dl{
                    padding: 2%;
                    box-sizing: border-box;
                    dt{
                        width: 40%;
                        margin:0 auto;
                        img{width: 100%;}
                    }
                    dd{
                        text-align: center;
                        p:nth-child(1){.px2rem(font-size,30);}
                        p:nth-child(2){
                            .px2rem(font-size,20);
                            color: #bebdc2;
                        }
                    }
                }
                
            }
            div:last-child{border: none;}
            
            
        }
    }
}
.footer{
    z-index: 99;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    .px2rem(height,120);
    border-top: 3px solid #f1f1f1;
    background: white;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #c8c2c2;
    .px2rem(font-size,24);
    dl{
        dt{
            
            .iconfont{
                font-family:"iconfont";
                .px2rem(font-size,50);
                font-style:normal;
                
            }
        }
    }
    dl:nth-child(3){
        dt{
            color: #ff5958;
        }
        dd{
            color: #ff5958;
        }
    }
}
@font-face {
  font-family: 'iconfont';  /* project id 382649 */
  src: url('//at.alicdn.com/t/font_382649_g4i25e610q0vn29.eot');
  src: url('//at.alicdn.com/t/font_382649_g4i25e610q0vn29.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_382649_g4i25e610q0vn29.woff') format('woff'),
  url('//at.alicdn.com/t/font_382649_g4i25e610q0vn29.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_382649_g4i25e610q0vn29.svg#iconfont') format('svg');
}